Skip to content

fix: practice window layout (top-down, no overlap/clipping) - #233

Merged
wangzhizhou merged 2 commits into
mainfrom
dev
Nov 7, 2026
Merged

wangzhizhou merged 2 commits into
mainfrom
dev

Conversation

@wangzhizhou

Copy link
Copy Markdown
Contributor

按截图反馈修版式:题干压住题型控件、进度行被裁、中部空白过多。

  • 内容容器改翻转坐标,一律从顶部排:题型 → 题干 → 提示 → 作答 → 反馈 → 按钮 → 进度;
  • 固定 460×336,A/C 共用纵向基准;题干 40pt 居中;题型 C 的「末笔/结构」有小标题并随选择更新;
  • 新增版式自检(A/C 两题型:控件不越界、不与题型控件重叠),进离线回归。

草图 。验证:make verify PASS、离线 62 文件 / 328 例 PASS。

The package carries the practice window and the quality close-out. Post install measurements show a
steady state p95 of 5.8 milliseconds across the three segments, cold first key at 28.9 and 33.4, no
connections, and private memory of 28.5 to 28.8 mebibytes under a limit of 30. The report lists the
manual walkthrough items: the practice window's two exercise shapes, reopening without leftovers, the
learning area default state, and the progress file appearing, growing and resetting on deletion.

Signed-off-by: wangzhizhou <824219521@qq.com>
…clips

The old layout computed positions upwards from the window bottom, so the question overlapped the
segmented control and the progress line fell outside the window. The content view is now flipped and
every row is placed from the top with a fixed 460 by 336 window, shared by both exercise shapes; the
recognition rows gained their own captions that update with the selection.

A geometry self-check asserts for both kinds that every visible control stays inside the content
bounds and clear of the segmented control, so this cannot regress silently.

Signed-off-by: wangzhizhou <824219521@qq.com>
@wangzhizhou
wangzhizhou merged commit 251e953 into main Nov 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant